<ul id="quotes">
    <?php $i = 0 ?>
    <?php foreach ($sharedExperiences as $experience): ?>    
        <li class="quote-<?php echo fmod($i, 2) == 0 ? 'l' : 'r' ?>">
            <span class="quote-left">&nbsp;</span>
            <div class="quote-body">
                <?php echo $experience->getDescription() ?>
                <span class="quote-right">&nbsp;</span>
            </div>
            <div class="experience-ratings" id="experience-rating-<?php echo $experience->getId() ?>">
                <?php include_partial("experience/rating", array("experience" => $experience)) ?>
            </div>
            <h4 class="quote-title"><?php echo $experience->getTopic() ?></h4>
            <span class="customer">
                <?php echo $experience->getName() ?>
            </span>
        </li>
        <?php $i++ ?>
    <?php endforeach; ?>
</ul>